{{extend "blog_layout.html"}}

{{block content_main}}
<div class="panel">
    <div class="panel-content">
        <h2>{{=defined('title') or _('View')}}</h2>
        <table class="table table-bordered">
        {{<< view.body}}
        </table>
    </div>
    <div class="panel-content">
        <a class="btn btn-primary" href="/blog/admin/edit/{{=object.id}}">{{=_('Edit')}}</a>
        <a class="btn btn-danger" href="/blog/admin/delete/{{=object.id}}" onclick="return confirm('{{=_("Do you want to delete this record?")}}');">{{=_('Delete')}}</a>
    </div>
</div>
{{end}}
